package cn.edu.wfit.modules.directionmanagement.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.edu.wfit.common.core.annotation.Excel;
import cn.edu.wfit.common.core.web.domain.BaseEntity;

/**
 * 日志对象 wfit_log
 * 
 * @author ruoyi
 * @date 2025-09-03
 */
public class WfitLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 日志类型(0:课程学习1:学习时长2:竞赛情况3:项目实践4:科创贡献) */
    @Excel(name = "日志类型(0:课程学习1:学习时长2:竞赛情况3:项目实践4:科创贡献)")
    private String logType;

    /** 学号 */
    @Excel(name = "学号")
    private String studentNumber;

    /** 姓名 */
    @Excel(name = "姓名")
    private String studentName;

    /** 日志内容 */
    @Excel(name = "日志内容")
    private String content;

    /** 分数,时长 */
    @Excel(name = "分数,时长")
    private Long score;

    /** 方向 */
    @Excel(name = "方向")
    private int direction;

    /** 竞赛证书认证表id */
    @Excel(name = "竞赛证书认证表id")
    private int recordId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLogType(String logType) 
    {
        this.logType = logType;
    }

    public String getLogType() 
    {
        return logType;
    }
    public void setStudentNumber(String studentNumber) 
    {
        this.studentNumber = studentNumber;
    }

    public String getStudentNumber() 
    {
        return studentNumber;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setDirection(int direction)
    {
        this.direction = direction;
    }

    public int getDirection()
    {
        return direction;
    }

    public int getRecordId() {
        return recordId;
    }

    public void setRecordId(int recordId) {
        this.recordId = recordId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("logType", getLogType())
            .append("studentNumber", getStudentNumber())
            .append("studentName", getStudentName())
            .append("content", getContent())
            .append("score", getScore())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("direction", getDirection())
            .append("recordId", getRecordId())
            .toString();
    }
}
